package com.farah.lease.web.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.farah.lease.model.entity.LeaseTerm;
import com.farah.lease.web.app.mapper.LeaseTermMapper;
import com.farah.lease.web.app.service.LeaseTermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 不爱跑步的法拉韶
 * @Date 2024-06-25__09:18
 **/
@Service
public class LeaseTermServiceImpl extends ServiceImpl<LeaseTermMapper, LeaseTerm> implements LeaseTermService {
    @Autowired
    private LeaseTermMapper leaseTermMapper;
    @Override
    public List<LeaseTerm> listByRoomId(Long id) {
        return leaseTermMapper.selectListByRoomId(id);
    }
}
